﻿using Admin.NET.Core;
namespace Admin.NET.Application.Entity;

/// <summary>
/// 考试
/// </summary>
[SugarTable("Kaoshi","考试")]
public class Kaoshi  : EntityBase
{
    /// <summary>
    /// 考试名称
    /// </summary>
    [Required]
    [SugarColumn(ColumnName = "Name", ColumnDescription = "考试名称", Length = 100)]
    public string Name { get; set; }
    
    /// <summary>
    /// 学年学期
    /// </summary>
    [SugarColumn(ColumnName = "XuenianXueqiId", ColumnDescription = "学年学期")]
    public long? XuenianXueqiId { get; set; }
    
    /// <summary>
    /// 考试类别
    /// </summary>
    [Required]
    [SugarColumn(ColumnName = "LeiBie", ColumnDescription = "考试类别", Length = 32)]
    public string LeiBie { get; set; }
    
    /// <summary>
    /// 考号前缀
    /// </summary>
    [SugarColumn(ColumnName = "PerNum", ColumnDescription = "考号前缀", Length = 32)]
    public string? PerNum { get; set; }
    
    /// <summary>
    /// 开始时间
    /// </summary>
    [SugarColumn(ColumnName = "StartDate", ColumnDescription = "开始时间")]
    public DateTime? StartDate { get; set; }
    
    /// <summary>
    /// 结束时间
    /// </summary>
    [SugarColumn(ColumnName = "EndDate", ColumnDescription = "结束时间")]
    public DateTime? EndDate { get; set; }
    
    /// <summary>
    /// 考试状态
    /// </summary>
    [Required]
    [SugarColumn(ColumnName = "Status", ColumnDescription = "考试状态", Length = 32)]
    public string Status { get; set; }
    
    /// <summary>
    /// 备注
    /// </summary>
    [SugarColumn(ColumnName = "Beizhu", ColumnDescription = "备注", Length = 100)]
    public string? Beizhu { get; set; }
    
}
